[INFO] cloning repository https://github.com/randombk/rust-ldpreload-read
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/randombk/rust-ldpreload-read" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frandombk%2Frust-ldpreload-read", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frandombk%2Frust-ldpreload-read'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 60283f4fc1f7ba72c8999d315eadf73b5e704390
[INFO] fixing randombk/rust-ldpreload-read against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frandombk%2Frust-ldpreload-read" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/randombk/rust-ldpreload-read
[INFO] finished tweaking git repo https://github.com/randombk/rust-ldpreload-read
[INFO] tweaked toml for git repo https://github.com/randombk/rust-ldpreload-read written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/randombk/rust-ldpreload-read on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/randombk/rust-ldpreload-read already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
[INFO] [stderr] (in the `redirect_read` library target)
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `dlp_ldpreload_redirect_read` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 04b37eec9501e1e8a4ac1bcac6bac505406641396f636e2637389c2fbd4a211e
[INFO] running `Command { std: "docker" "start" "04b37eec9501e1e8a4ac1bcac6bac505406641396f636e2637389c2fbd4a211e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "04b37eec9501e1e8a4ac1bcac6bac505406641396f636e2637389c2fbd4a211e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "04b37eec9501e1e8a4ac1bcac6bac505406641396f636e2637389c2fbd4a211e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "04b37eec9501e1e8a4ac1bcac6bac505406641396f636e2637389c2fbd4a211e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
[INFO] [stderr] (in the `redirect_read` library target)
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `dlp_ldpreload_redirect_read` (manifest) generated 2 warnings
[INFO] [stderr]     Checking libc v0.2.39
[INFO] [stderr]     Checking redhook v0.1.1
[INFO] [stderr]     Checking dlp_ldpreload_redirect_read v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2015 edition to 2018
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s
[INFO] [stderr] crater-edition-check: dlp_ldpreload_redirect_read v1.0.0 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr] warning: Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
[INFO] [stderr] (in the `redirect_read` library target)
[INFO] [stderr] warning: `dlp_ldpreload_redirect_read` (manifest) generated 1 warning
[INFO] [stderr]     Checking dlp_ldpreload_redirect_read v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
[INFO] [stderr] (in the `redirect_read` library target)
[INFO] [stderr] warning: `dlp_ldpreload_redirect_read` (manifest) generated 1 warning
[INFO] [stderr]     Checking dlp_ldpreload_redirect_read v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.09s
[INFO] [stderr] crater-edition-check: dlp_ldpreload_redirect_read v1.0.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr] warning: Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
[INFO] [stderr] (in the `redirect_read` library target)
[INFO] [stderr] warning: `dlp_ldpreload_redirect_read` (manifest) generated 1 warning
[INFO] [stderr]     Checking dlp_ldpreload_redirect_read v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.34s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
[INFO] [stderr] (in the `redirect_read` library target)
[INFO] [stderr] warning: `dlp_ldpreload_redirect_read` (manifest) generated 1 warning
[INFO] [stderr]     Checking dlp_ldpreload_redirect_read v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             real!(fopen)(new_path.as_ptr(), mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             real!(fopen)(pathname, mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             real!(fopen64)(new_path.as_ptr(), mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             real!(fopen64)(pathname, mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             real!(open)(new_path.as_ptr(), mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             real!(open)(pathname, mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             real!(open64)(new_path.as_ptr(), mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             real!(open64)(pathname, mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.64s
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | / hook! {
[INFO] [stdout] 21 | |     unsafe fn fopen(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen {
[INFO] [stdout] 22 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 23 | |             println!("Redirected fopen(\"{}\") to fopen(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: dlp_ldpreload_redirect_read v1.0.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             real!(fopen)(new_path.as_ptr(), mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: failed to parse manifest at `/opt/rustwide/workdir/Cargo.toml`
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             real!(fopen)(pathname, mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / hook! {
[INFO] [stdout] 34 | |     unsafe fn fopen64(pathname: *const c_char, mode: *mut c_char) -> usize => my_fopen64 {
[INFO] [stdout] 35 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 36 | |             println!("Redirected fopen64(\"{}\") to fopen64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] Caused by:
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             real!(fopen64)(new_path.as_ptr(), mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]   `crate_type` is unsupported as of the 2024 edition; instead use `crate-type`
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             real!(fopen64)(pathname, mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]   (in the `redirect_read` library target)
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / hook! {
[INFO] [stdout] 47 | |     unsafe fn open(pathname: *const c_char, mode: usize) -> usize => my_open {
[INFO] [stdout] 48 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 49 | |             println!("Redirected open(\"{}\") to open(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             real!(open)(new_path.as_ptr(), mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             real!(open)(pathname, mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / hook! {
[INFO] [stdout] 60 | |     unsafe fn open64(pathname: *const c_char, mode: usize) -> usize => my_open64 {
[INFO] [stdout] 61 | |         if CStr::from_ptr(pathname).to_str() == Ok(REDIRECT_ORIG_PATH) {
[INFO] [stdout] 62 | |             println!("Redirected open64(\"{}\") to open64(\"{}\")", REDIRECT_ORIG_PATH, REDIRECT_TARGET_PATH);
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: this warning originates in the macro `hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             real!(open64)(new_path.as_ptr(), mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             real!(open64)(pathname, mode)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "04b37eec9501e1e8a4ac1bcac6bac505406641396f636e2637389c2fbd4a211e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04b37eec9501e1e8a4ac1bcac6bac505406641396f636e2637389c2fbd4a211e", kill_on_drop: false }`
[INFO] [stdout] 04b37eec9501e1e8a4ac1bcac6bac505406641396f636e2637389c2fbd4a211e
